package pojo;


import java.util.Date;

public class TickTable {
    private String no;//凭证编号
    private Double amount;//凭证金额
    private String companyname;//开单企业
    private String bankname;//金融机构
    private Date opentime;//开单日期
    private Date expirytime;//到期日期
    private String uplinkaddress;//上链地址
    private String source;//凭证来源
    private  String status;//凭证状态

    public TickTable(){

    }

    public TickTable(String no, Double amount, String companyname, String bankname, Date opentime, Date expirytime, String uplinkaddress, String source, String status) {
        this.no = no;
        this.amount = amount;
        this.companyname = companyname;
        this.bankname = bankname;
        this.opentime = opentime;
        this.expirytime = expirytime;
        this.uplinkaddress = uplinkaddress;
        this.source = source;
        this.status = status;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public String getCompanyname() {
        return companyname;
    }

    public void setCompanyname(String companyname) {
        this.companyname = companyname;
    }

    public String getBankname() {
        return bankname;
    }

    public void setBankname(String bankname) {
        this.bankname = bankname;
    }

    public Date getOpentime() {
        return opentime;
    }

    public void setOpentime(Date opentime) {
        this.opentime = opentime;
    }

    public Date getExpirytime() {
        return expirytime;
    }

    public void setExpirytime(Date expirytime) {
        this.expirytime = expirytime;
    }

    public String getUplinkaddress() {
        return uplinkaddress;
    }

    public void setUplinkaddress(String uplinkaddress) {
        this.uplinkaddress = uplinkaddress;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "TickTable{" +
                "no='" + no + '\'' +
                ", amount=" + amount +
                ", companyname='" + companyname + '\'' +
                ", bankname='" + bankname + '\'' +
                ", opentime=" + opentime +
                ", expirytime=" + expirytime +
                ", uplinkaddress='" + uplinkaddress + '\'' +
                ", source='" + source + '\'' +
                ", status='" + status + '\'' +
                '}';
    }
}
